package cn.iocoder.yudao.module.shop.controller.admin.store.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class StoreOutItem {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "id不能为空")
    private Long id;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "数量不能为空")
    private Integer num;

    @Schema(description = "价格原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "价格不能为空")
    private Integer marketPrice;
}
